package com.util;

import java.util.Calendar;

/**
 * @author Diego Iacono
 * 
 */
public class UtilTools
{
   public static final int DONE = 1;
   
   public static int pauseMls(long stopMls)
   {
      long result = 0;
      long currentMls = 0;
      currentMls = Calendar.getInstance().getTimeInMillis();
      result = stopMls + currentMls;
      while (currentMls < result)
      {
         currentMls = Calendar.getInstance().getTimeInMillis();
      }
      return DONE;
   }
}
